package com.eksboot.validator;

import com.eksframework.commons.core.validator.EksValidator;
import com.eksframework.commons.core.validator.ValidatorResult;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class MainTest {

    public static void main(String[] args) {
        CinemaVO cinemaVO = new CinemaVO();
        ValidatorResult<CinemaVO> validatorResult = EksValidator.validate(cinemaVO);
        log.debug("{}",validatorResult.getOneMessage());
        log.debug("{}",validatorResult.getAllMessage());
        log.debug("{}",validatorResult.getMessageDetail());
    }
}